import sheetFormula from './demoData/sheetFormula';
import sheetConditionFormat from './demoData/sheetConditionFormat';
import sheetSparkline from './demoData/sheetSparkline';
import sheetTable from './demoData/sheetTable';
import sheetComment from './demoData/sheetComment';
import sheetPivotTableData from './demoData/sheetPivotTableData';
import sheetPivotTable from './demoData/sheetPivotTable';
import sheetChart from './demoData/sheetChart';
import sheetPicture from './demoData/sheetPicture';
import sheetDataVerification from './demoData/sheetDataVerification';

const datas111 = [
  {
    name: 'Sheet1',
    color: '',
    index: 0,
    status: 1,
    order: 1,
    row: 36, //行数
    config: {
      // authority: {
      //   sheet: 1, //如果为1或true，则该工作表受到保护；如果为0或false，则该工作表不受保护。
      //   hintText: '该工作表受到保护，无法修改', //提示文字
      //   allowRangeList: [
      //     //区域保护
      //     // 这里是可以编辑区域（单独设置）
      //     {
      //       name: 'area', //名称
      //       // password:"1", //密码
      //       hintText: '', //提示文字
      //       algorithmName: 'None', //加密方案：MD2,MD4,MD5,RIPEMD-128,RIPEMD-160,SHA-1,SHA-256,SHA-384,SHA-512,WHIRLPOOL
      //       saltValue: null, //密码解密的盐参数，为一个自己定的随机数值
      //       sqref: '$C$3:$C$3', //区域范围
      //     },
      //     {
      //       name: 'area', //名称
      //       // password:"1", //密码
      //       hintText: '', //提示文字
      //       algorithmName: 'None', //加密方案：MD2,MD4,MD5,RIPEMD-128,RIPEMD-160,SHA-1,SHA-256,SHA-384,SHA-512,WHIRLPOOL
      //       saltValue: null, //密码解密的盐参数，为一个自己定的随机数值
      //       sqref: '$C$4:$C$4', //区域范围
      //     },
      //   ],
      // },
    },
    celldata: [
      {
        r: 0,
        c: 0,
        v: {
          ct: { fa: 'General', t: 's' },
          bg: null,
          fs: 10,
          fc: '#212D2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: '项目',
          qp: 1,
        },
      },
      {
        r: 0,
        c: 1,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: '北京',
        },
      },
      {
        r: 0,
        c: 2,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: '沈阳',
          disable: true,
          isVisible: true,
        },
      },
      {
        r: 0,
        c: 3,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: '杭州',
          disable: true,
        },
      },
      {
        r: 1,
        c: 0,
        v: {
          ct: { fa: 'General', t: 's' },
          bg: '#A9D08E',
          fs: 10,
          fc: '#212D2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: '生产量',
          qp: 1,
          disable: true,
        },
      },
      {
        r: 1,
        c: 1,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: 1,
          m: '1',
        },
      },
      {
        r: 1,
        c: 2,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: 2,
          m: '2',
        },
      },
      {
        r: 1,
        c: 3,
        v: {
          ct: { fa: 'General' },
          bg: null,
          fs: 9,
          fc: '#302C2A',
          ff: 'Arial',
          vt: 0,
          tb: 2,
          v: 3,
          m: '3',
        },
      },
      {
        r: 1,
        c: 4,
        v: {
          f: '=SUM(B2:D2)',
        },
      },
    ],
    calcChain: [
      {
        r: 1,
        c: 4,
        index: 0,
        func: [true, 0, '=SUM(B2:D2)'],
        color: 'w',
        parent: null,
        chidren: {},
        times: 0,
      },
    ],
  },
  sheetFormula,
  sheetConditionFormat,
  sheetSparkline,
  sheetTable,
  sheetComment,
  sheetPivotTableData,
  sheetPivotTable,
  sheetChart,
  sheetPicture,
  sheetDataVerification,
];
export default datas111;
